.col-xs-7.col-md-4
  - title 'Edit details'
  = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put, role: 'form' }, defaults: { label: false }) do |f|
    .form-title.h3 Edit details
    .form-inputs
      = f.input :email, required: true, autofocus: true, input_html: { class: 'form-control'}
      - if devise_mapping.confirmable? && resource.pending_reconfirmation?
        %p
          Currently waiting confirmation for: #{resource.unconfirmed_email}
      = f.input :password, autocomplete: "off", hint: "leave it blank if you don't want to change it", required: false, input_html: { class: 'form-control', placeholder: 'New password'}
      = f.input :password_confirmation, required: false, input_html: { class: 'form-control', placeholder: 'New password confirmation'}
      = f.input :current_password, hint: "we need your current password to confirm your changes", required: true, input_html: { class: 'form-control', placeholder: 'Current password'}
    .form-actions
      = f.button :submit, "Update", class: 'btn-success'
